<template>
    <div>
        home组件{{qqq}}
        <input type="text" v-model='age'>
    </div>
</template>
<script>
// @ is an alias to /src
export default {
    name: 'Home',
    props:['qqq'],
    data() {
        return {
          age:100
        }
    },
    created() {
      console.log('home  created')
    },
    destroyed() {
      console.log('home destroy')
    },
    activated() {
      console.log('home组件显示了')
    },
    deactivated() {
      console.log('home组件隐藏了')
    },
    components: {
        
    }
}
</script>
<style lang="less">

</style>